<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class MPEG_ABS_VBRIHeader</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class MPEG_ABS_VBRIHeader</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-consts">Constants</a>
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class represents the Fraunhofer IIS VBR header which is often found in  the first frame of an MPEG Audio Bit Stream.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Sven Vollbehr &lt;<a href="mailto:svollbehr@gmail.com">svollbehr@gmail.com</a>&gt;</li>
				<li><span class="field">author:</span> Ryan Butterfield &lt;<a href="mailto:buttza@gmail.com">buttza@gmail.com</a>&gt;</li>
				<li><span class="field">version:</span> $Rev: 1 $</li>
				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
				<li><span class="field">license:</span> <a href="http://code.google.com/p/php-reader/wiki/License">New BSD License</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_MPEG---ABS---VBRIHeader.php.html">/MPEG/ABS/VBRIHeader.php</a> (line <span class="field">56</span>)
		</p>
		
				
		<pre><a href="../../php-reader/MPEG/MPEG_Object.html">MPEG_Object</a>
   |
   --<a href="../../php-reader/MPEG/MPEG_ABS_Object.html">MPEG_ABS_Object</a>
      |
      --MPEG_ABS_VBRIHeader</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-consts">Constants</a>
							
															<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																												
												<div class="method-definition">
											<span class="method-result">MPEG_ABS_VBRIHeader</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type"><a href="../../php-reader/Reader.html">Reader</a></span>&nbsp;<span class="var-name">$reader</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">&$options</span> = <span class="var-default">array()</span>], <span class="var-type">Array</span>&nbsp;<span class="var-name">$options</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getBytes" title="details" class="method-name">getBytes</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getDelay" title="details" class="method-name">getDelay</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getFrames" title="details" class="method-name">getFrames</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getLength" title="details" class="method-name">getLength</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getQualityIndicator" title="details" class="method-name">getQualityIndicator</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">Array</span>
										<a href="#getToc" title="details" class="method-name">getToc</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getTocFramesPerEntry" title="details" class="method-name">getTocFramesPerEntry</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getVersion" title="details" class="method-name">getVersion</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-consts">Constants</a>
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html">MPEG_ABS_Object</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#var$sidesizes">MPEG_ABS_Object::$sidesizes</a></span><br>
							</span>
											</blockquote> 
									<p>Inherited from <span class="classname"><a href="../../php-reader/MPEG/MPEG_Object.html">MPEG_Object</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../../php-reader/MPEG/MPEG_Object.html#var$_reader">MPEG_Object::$_reader</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
																			<a href="#sec-consts">Constants</a>
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">89</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructs the class with given parameters and reads object related data  from the bitstream.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">MPEG_ABS_VBRIHeader</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type"><a href="../../php-reader/Reader.html">Reader</a></span>&nbsp;<span class="var-name">$reader</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">&$options</span> = <span class="var-default">array()</span>], <span class="var-type">Array</span>&nbsp;<span class="var-name">$options</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../php-reader/Reader.html">Reader</a></span>
				<span class="var-name">$reader</span><span class="var-description">: The reader object.</span>			</li>
					<li>
				<span class="var-type">Array</span>
				<span class="var-name">$options</span><span class="var-description">: Array of options.</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$options</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#method__construct">MPEG_ABS_Object::__construct()</a></dt>
						<dd>Constructs the class with given parameters.</dd>
					</dl>
			
	</div>
<a name="methodgetBytes" id="getBytes"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getBytes</span> (line <span class="line-number">136</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the number of bytes in the file.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getBytes
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetDelay" id="getDelay"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getDelay</span> (line <span class="line-number">121</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the delay.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getDelay
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetFrames" id="getFrames"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getFrames</span> (line <span class="line-number">143</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the number of frames in the file.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getFrames
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetLength" id="getLength"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getLength</span> (line <span class="line-number">164</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the length of the header in bytes.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getLength
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetQualityIndicator" id="getQualityIndicator"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getQualityIndicator</span> (line <span class="line-number">129</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the quality indicator. Return value varies from 0 (best quality) to  100 (worst quality).</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getQualityIndicator
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetToc" id="getToc"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getToc</span> (line <span class="line-number">150</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the table of contents array.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Array</span>
		<span class="method-name">
			getToc
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetTocFramesPerEntry" id="getTocFramesPerEntry"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getTocFramesPerEntry</span> (line <span class="line-number">157</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the number of frames per TOC entry.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getTocFramesPerEntry
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetVersion" id="getVersion"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getVersion</span> (line <span class="line-number">114</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the header version.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getVersion
		</span>
				()
			</div>
	
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html">MPEG_ABS_Object</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#method__construct">MPEG_ABS_Object::__construct()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../php-reader/MPEG/MPEG_Object.html">MPEG_Object</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../php-reader/MPEG/MPEG_Object.html#method__construct">MPEG_Object::__construct()</a></span><br>
													<span class="method-name"><a href="../../php-reader/MPEG/MPEG_Object.html#methodformatTime">MPEG_Object::formatTime()</a></span><br>
													<span class="method-name"><a href="../../php-reader/MPEG/MPEG_Object.html#methodgetOption">MPEG_Object::getOption()</a></span><br>
													<span class="method-name"><a href="../../php-reader/MPEG/MPEG_Object.html#methodgetOptions">MPEG_Object::getOptions()</a></span><br>
													<span class="method-name"><a href="../../php-reader/MPEG/MPEG_Object.html#methodnextStartCode">MPEG_Object::nextStartCode()</a></span><br>
													<span class="method-name"><a href="../../php-reader/MPEG/MPEG_Object.html#methodprevStartCode">MPEG_Object::prevStartCode()</a></span><br>
													<span class="method-name"><a href="../../php-reader/MPEG/MPEG_Object.html#methodsetOption">MPEG_Object::setOption()</a></span><br>
													<span class="method-name"><a href="../../php-reader/MPEG/MPEG_Object.html#methodsetOptions">MPEG_Object::setOptions()</a></span><br>
													<span class="method-name"><a href="../../php-reader/MPEG/MPEG_Object.html#method__get">MPEG_Object::__get()</a></span><br>
													<span class="method-name"><a href="../../php-reader/MPEG/MPEG_Object.html#method__set">MPEG_Object::__set()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-vars">Vars</a>
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Constants</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html">MPEG_ABS_Object</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constCHANNEL_DUAL_CHANNEL">MPEG_ABS_Object::CHANNEL_DUAL_CHANNEL</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constCHANNEL_JOINT_STEREO">MPEG_ABS_Object::CHANNEL_JOINT_STEREO</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constCHANNEL_SINGLE_CHANNEL">MPEG_ABS_Object::CHANNEL_SINGLE_CHANNEL</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constCHANNEL_STEREO">MPEG_ABS_Object::CHANNEL_STEREO</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constEMPHASIS_50_15">MPEG_ABS_Object::EMPHASIS_50_15</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constEMPHASIS_CCIT_J17">MPEG_ABS_Object::EMPHASIS_CCIT_J17</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constEMPHASIS_NONE">MPEG_ABS_Object::EMPHASIS_NONE</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constLAYER_ONE">MPEG_ABS_Object::LAYER_ONE</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constLAYER_THREE">MPEG_ABS_Object::LAYER_THREE</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constLAYER_TWO">MPEG_ABS_Object::LAYER_TWO</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constMODE_ISOFF_MSSOFF">MPEG_ABS_Object::MODE_ISOFF_MSSOFF</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constMODE_ISOFF_MSSON">MPEG_ABS_Object::MODE_ISOFF_MSSON</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constMODE_ISON_MSSOFF">MPEG_ABS_Object::MODE_ISON_MSSOFF</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constMODE_ISON_MSSON">MPEG_ABS_Object::MODE_ISON_MSSON</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constMODE_SUBBAND_4_TO_31">MPEG_ABS_Object::MODE_SUBBAND_4_TO_31</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constMODE_SUBBAND_8_TO_31">MPEG_ABS_Object::MODE_SUBBAND_8_TO_31</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constMODE_SUBBAND_12_TO_31">MPEG_ABS_Object::MODE_SUBBAND_12_TO_31</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constMODE_SUBBAND_16_TO_31">MPEG_ABS_Object::MODE_SUBBAND_16_TO_31</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constSAMPLING_FREQUENCY_HIGH">MPEG_ABS_Object::SAMPLING_FREQUENCY_HIGH</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constSAMPLING_FREQUENCY_LOW">MPEG_ABS_Object::SAMPLING_FREQUENCY_LOW</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constVERSION_ONE">MPEG_ABS_Object::VERSION_ONE</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constVERSION_TWO">MPEG_ABS_Object::VERSION_TWO</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../php-reader/MPEG/MPEG_ABS_Object.html#constVERSION_TWO_FIVE">MPEG_ABS_Object::VERSION_TWO_FIVE</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Thu, 01 Jan 2009 15:00:02 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>